package org.sdp.pearproject.dao.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;

/**
 * @ClassName: MemberAccount
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-27
 * @Version: 1.0
 * Table: pear_member_account
 * Comment:
 * 组织账号表
 */
public class MemberAccount implements Serializable {
    private static final long serialVersionUID = 201583201907456493L;

    //id
    @JsonProperty("id")
    @JSONField(name = "id")
    private Integer id;

    public Integer getId() {
        return id;
    }
    
    public void setId(Integer _v) {
        id = _v;
    }
    
    //code
    @JsonProperty("code")
    @JSONField(name = "code")
    private String code;

    public String getCode() {
        return code;
    }
    
    public void setCode(String _v) {
        code = _v;
    }
    
    //所属账号id
    @JsonProperty("member_code")
    @JSONField(name = "member_code")
    private String memberCode;

    public String getMemberCode() {
        return memberCode;
    }
    
    public void setMemberCode(String _v) {
        memberCode = _v;
    }
    
    //所属组织
    @JsonProperty("organization_code")
    @JSONField(name = "organization_code")
    private String organizationCode;

    public String getOrganizationCode() {
        return organizationCode;
    }
    
    public void setOrganizationCode(String _v) {
        organizationCode = _v;
    }
    
    //部门编号
    @JsonProperty("department_code")
    @JSONField(name = "department_code")
    private String departmentCode;

    public String getDepartmentCode() {
        return departmentCode;
    }
    
    public void setDepartmentCode(String _v) {
        departmentCode = _v;
    }
    
    //角色
    @JsonProperty("authorize")
    @JSONField(name = "authorize")
    private String authorize;

    public String getAuthorize() {
        return authorize;
    }
    
    public void setAuthorize(String _v) {
        authorize = _v;
    }
    
    //是否主账号
    @JsonProperty("is_owner")
    @JSONField(name = "is_owner")
    private Byte isOwner;

    public Byte getIsOwner() {
        return isOwner;
    }
    
    public void setIsOwner(Byte _v) {
        isOwner = _v;
    }
    
    //姓名
    @JsonProperty("name")
    @JSONField(name = "name")
    private String name;

    public String getName() {
        return name;
    }
    
    public void setName(String _v) {
        name = _v;
    }
    
    //手机号码
    @JsonProperty("mobile")
    @JSONField(name = "mobile")
    private String mobile;

    public String getMobile() {
        return mobile;
    }
    
    public void setMobile(String _v) {
        mobile = _v;
    }
    
    //邮件
    @JsonProperty("email")
    @JSONField(name = "email")
    private String email;

    public String getEmail() {
        return email;
    }
    
    public void setEmail(String _v) {
        email = _v;
    }
    
    //创建时间
    @JsonProperty("create_time")
    @JSONField(name = "create_time")
    private String createTime;

    public String getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(String _v) {
        createTime = _v;
    }
    
    //上次登录时间
    @JsonProperty("last_login_time")
    @JSONField(name = "last_login_time")
    private String lastLoginTime;

    public String getLastLoginTime() {
        return lastLoginTime;
    }
    
    public void setLastLoginTime(String _v) {
        lastLoginTime = _v;
    }
    
    //状态
    @JsonProperty("status")
    @JSONField(name = "status")
    private Byte status;

    public Byte getStatus() {
        return status;
    }
    
    public void setStatus(Byte _v) {
        status = _v;
    }
    
    //描述
    @JsonProperty("description")
    @JSONField(name = "description")
    private String description;

    public String getDescription() {
        return description;
    }
    
    public void setDescription(String _v) {
        description = _v;
    }
    
    //头像
    @JsonProperty("avatar")
    @JSONField(name = "avatar")
    private String avatar;

    public String getAvatar() {
        return avatar;
    }
    
    public void setAvatar(String _v) {
        avatar = _v;
    }
    
    //职位
    @JsonProperty("position")
    @JSONField(name = "position")
    private String position;

    public String getPosition() {
        return position;
    }
    
    public void setPosition(String _v) {
        position = _v;
    }
    
    //部门
    @JsonProperty("department")
    @JSONField(name = "department")
    private String department;

    public String getDepartment() {
        return department;
    }
    
    public void setDepartment(String _v) {
        department = _v;
    }
    
}
